package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 15/02/14.
 */
public enum InstallmentsPeriodicalFrequency implements LabelEnum{

    nDays("payment_frequency_n_days"),
    nWeeks("payment_frequency_n_weeks"),
    nMonths("payment_frequency_n_months");

    String labelKey;

    InstallmentsPeriodicalFrequency(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getLabelKey() {
        return labelKey;
    }
}
